package com.crl.ssc.dic.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
/**
 * @description: 字典管理-测试数据表DTO
 * @author: 孔垂云
 * @version: 1.0
 * @date: 2020-08-04 00:51:33
 */
@Data
@ApiModel("测试数据表")
public class DicTestDTO {

	@ApiModelProperty("id")
	private Long id; //id

	@ApiModelProperty("名称")
	@NotEmpty
	@Length(max = 10)
	private String name; //名称

	@ApiModelProperty("年龄")
	private Integer age; //年龄

	@ApiModelProperty("身高")
	private Float length; //身高

	@ApiModelProperty("出生年月")
	@Length(max = 10)
	private String birth; //出生年月

	@ApiModelProperty("学历")
	@Length(max = 10)
	private String edu; //学历



}
